<?php
/** UnivIS update script
 * Fetches content from UnivIS via PRG interface in XML and stores 
 * it into a mysql database
 */

// TODO: Integrate configuration with typo3?

$conf = array();

// Database Configuration
$conf['db']['host'] = 'localhost'; // database hostname
$conf['db']['user'] = 'typo3';     // username
$conf['db']['pass'] = '';          // password
$conf['db']['db']   = '';          // database name

// UnivIS Configuration
$conf['univis']['department'] = ''; // UnivIS department ID
$conf['univis']['prg_url'] = 'http://univis.uni-erlangen.de/prg?';

// what data to import from UnivIS
$conf['univis']['modules'] = array(
	'lectures' => true,
	'persons' => true,
	'chapters' => false,
	'departments' => true,
	'calendar' => false,
	'rooms' => true,
	'thesis' => true,
	'publications' => true,
	'projects' => true,
);
?>